home *** CD-ROM | disk | FTP | other *** search
-
- G N O O M
- UFP image editor
- ----------------
-
- Written with Borland's Turbo Pascal 5.5
-
- This program is Public Domain. Feel free to use and
- distribute it as long as all the files listed below
- are distributed together. You can also freely use
- images created with GNOOM in all your programs. No
- additional payment required.
-
- OVERVIEW
-
- This program will allow you to edit up to 10 16-color
- images on one screen. Images can have size from 2 x 2
- to 64 x 64 pixels each. You can also animate your
- images and save them on disk. Images created with
- GNOOM can be easily loaded from your program in Turbo
- Pascal 5.5 (Probably, they will work from TP4.0 and
- TP5.0 as well but I can not guarantee it).
-
- GNOOM FILES
-
- 1. GNOOM.EXE The editor itself
- 2. GNOOM.DOC This documentation
- 3. GNOOM.TPU TP unit allowing you to use GNOOM
- images in your programs
- 4. GNLOADER.PAS Pascal source code for GNOOM.TPU
- 5. GNDEMO.PAS Small Pascal demonstration program
- 6. MONSTER.GNM Images required for GNDEMO.PAS
- 7. PIXEL.PAS Demo program, showing how to make
- GNOOM images move OVER background
- picture.
- 8. GIRL.GNM Images required for PIXEL.PAS
-
- REQUIREMENTS
-
- 1. EGA (640x200, 16 colors)
- 2. AT-286 (or better) may work on slower machines too,
- but, of course, slower.
- 3. DOS 3.3
-
- HOW TO USE "GNOOM"
-
- 1. Firstly set the size of the images. Use up-down arrows
- to change the number of rows (2..64) and left-right arrows
- to change the number of columns (2..64). Press ENTER when
- finished.
- 2. Main menu
- Use TAB key to select options in the main menu (menu is
- in the right bottom corner of the screen). Press ENTER to
- execute selected option.
-
- SAVE - saves images on disk in the current directory.
- Select images to save by pressing F1-F10. Press
- 'S' when finished. Then type the file name (up to
- 8 symbols) and press ENTER.
- LOAD - loads images from disk. Type the file name (up to
- 8 symbols) and press ENTER. (NOTE: you can't change
- directory!)
- NEW - Erases all 10 images and lets you to enter new
- size of the images.
- ANIMATE - Animates your images. Use left-right arrows and
- SPACE BAR to select images to animate. Up to 100
- frames of animation are possible. Press ENTER to
- begin animation. During the animation use '[' and
- ']' keys to change speed, ENTER to stop.
- QUIT - Exit to DOS
-
- 3. Editing
- While editing your images use the following keys:
-
- ARROWS - to move cursor
- SPACE BAR - to draw a dot with current color
- '+' & '-' - to select color
- '[' & ']' - to invert image
- 'C' - to clear current image
- 'W'
- 'A' + 'S' - to move entire image up, down left or right
- 'Z'
- F1-F10 - to select image for editing
- +----+----+----+----+
- | F1 | F2 | F3 | F4 |
- +----+----+----+----+
- | F5 | F6 | F7 | F8 |
- +----+----+----+----+
- | F9 |F10 |ANIM|MENU|
- +----+----+----+----+
- CNRL F1 - CNRL F10 - to copy one image to another
- For example, to copy image #5 to image #7
- press F7 and then CNRL F5.
-
- HOW TO LOAD GNOOM IMAGES FROM TURBO PASCAL
-
- 1. Add line "uses Gnoom;" to your Pascal program
- (GNOOM.TPU should be in the current directory!)
- GNOOM.TPU contains only one procedure - GnoomImage.
- See GNLOADER.PAS for details.
- 2. Define variable of 'GnType' type;
- for example,
-
- var Im : GnType;
-
- (Gntype = array [ 1..10 ] of pointer)
- 3. Use GnoomImage procedure to load images from disk.
-
- Format:
-
- GnoomImage( filename : string ;
- var GnIm : GnType ;
- var GnSprNum : byte );
-
- filename : name of the Gnoom file (up to 8 symbols) without
- '.GNM' extension.
- GnIm : variable of 'GnType' type defined before.
- GnSprNum : number of images found in the file.
-
- Example:
-
- GnoomImage( 'GIRL', Im, N );
-
- (This command will open file 'GIRL.GNM', put information
- about images into variable Im and put the number of loaded
- images into variable N)
- 4. Then you can use PutImage command in a usual way, for
- example:
-
- PutImage(100,100,Im[2]^,NormalPut); or
- PutImage(200,120,Im[3]^,XORPut);
-
- NOTE: Though GNOOM allows to edit images only in
- low resolution (640x200) you can load images and
- and use them in high resolution (640x350) as well.
-
- ----- SEE <GNDEMO.PAS> FILE FOR MORE DETAILS -----
-
- 5. Unfortunately, Turbo Pascal 5.5 does not have commands to
- make images move "over" background picture. XORPut mode
- makes something like this but at the same time it changes
- colors of the image. PIXEL.PAS file shows one (though
- I am sure, not the best) way to solve this problem. This
- example simply draws image pixel by pixel but makes it
- quickly enough.
-
- NOTE: GNDEMO.PAS and PIXEL.PAS can work only if the current
- directory contains GRAPH.TPU and EGAVGA.BGI
-
- WHAT IS NEXT?
-
- It is obvious that there are many things in GNOOM that are
- to be improved:
- 1. Saved images use too much space on disk
- 2. Images load too slowly
- 3. Images can not have different sizes
- 4. Only 10 images can be edited at the same time
- 5. GNOOM does not support high resolution EGA
- 6. GNOOM does not have DIR option
- and so on...
- In my opinion, correcting this version of GNOOM will not
- solve these problems. But maybe (I have not decided yet)
- I shall write GNOOM II, an absolutely different program,
- where I shall correct all these bugs. But in spite of it
- I think some people will find this first version of GNOOM
- interesting and useful. (Especially as it is FREE!)
-
- Nikolay Soumarokov
- Erzherzog Karl Str. 182
- 1220 Vienna, Austria
-
-
-
-
-
-
-
- ----------------end-of-author's-documentation---------------
-
- Software Library Information:
-
- This disk copy provided as a service of
-
- Public (software) Library
-
- We are not the authors of this program, nor are we associated
- with the author in any way other than as a distributor of the
- program in accordance with the author's terms of distribution.
-
- Please direct shareware payments and specific questions about
- this program to the author of the program, whose name appears
- elsewhere in this documentation. If you have trouble getting
- in touch with the author, we will do whatever we can to help
- you with your questions. All programs have been tested and do
- run. To report problems, please use the form that is in the
- file PROBLEM.DOC on many of our disks or in other written for-
- mat with screen printouts, if possible. PsL cannot debug pro-
- programs over the telephone, though we can answer questions.
-
- Disks in the PsL are updated monthly, so if you did not get
- this disk directly from the PsL, you should be aware that the
- files in this set may no longer be the current versions. Also,
- if you got this disk from another vendor and are having prob-
- lems, be aware that some files may have become corrupted or
- lost by that vendor. Get a current, working disk from PsL.
-
- For a copy of the latest monthly software library newsletter
- and a list of the 2,000+ disks in the library, call or write
-
- Public (software) Library
- P.O.Box 35705 - F
- Houston, TX 77235-5705
-
- 1-800-2424-PSL
- MC/Visa/AmEx/Discover
-
- Outside of U.S. or in Texas
- or for general information,
- Call 1-713-524-6394
-
- PsL also has an outstanding
- catalog for the Macintosh.
-